package com.hz.airline.dao;

import com.hz.airline.entity.PersonExpense;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

/**
 * Created by kevin on 2020/2/2 17:06
 */
public interface PersonExpenseDao extends CrudRepository<PersonExpense, Integer> {

    PersonExpense findByTitleAndDuty(String title, String duty);

    PersonExpense findByPersonexpenseid(int personexpenseid);

    List<PersonExpense> findAllByUserid(String userid);
}
